import 'package:flutter/material.dart';

// user_name_sex

/**
 * StatefulWidget
 * 传值
 * 生命周期
 */
class Page03 extends StatefulWidget {
  const Page03({super.key, required this.data_from_page01});

  final String data_from_page01;

  @override
  State<Page03> createState() => _Page03State();
}

class _Page03State extends State<Page03> {

  @override
  void initState() {
    // TODO: implement initState
    super.initState();
    print('Page03初始化了');
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.data_from_page01),
      ),
    );
  }
}
